﻿using com.iot.core.boot;
using com.iot.ht.Controllers.htsoft.data;

namespace com.iot.ht.Controllers.htsoft.service
{
    public abstract class AppStart
    {
        public HtSoftApp HtSoftApp { get; set; }

        public abstract Task<MyApiResult> Start();


        public abstract Task<MyApiResult> Stop();
        public abstract Task<MyApiResult> StopEx();


        public abstract Task<MyApiResult> Check();  //0 成功   1 失败   2 需要重启
    }
}
